﻿<?xml version="1.0" encoding="utf-8" ?>
<openServiceDescription xmlns="http://www.microsoft.com/schemas/openservicedescription/1.0">
	<homepageUrl>http://localhost</homepageUrl>
	<display>
		<name>QR it!</name>
		<icon>http://localhost/QR/favicon.ico</icon>
	</display>
	<activity category="Add">
		<activityAction context="document" method="POST">
			<preview action="http://localhost/QRL/convert.aspx">
				<parameter name="PageUrl"
									 value="{documentUrl}"/>
				<parameter name="PageTitle"
									 value="{documentTitle?}"/>
				<parameter name="Link"
									 value="{link?}"/>
				<parameter name="LinkText"
									 value="{linkText?}"/>
				<parameter name="Selection"
									 value="{selection?}"/>
				<parameter name="Preview"
									 value="1"/>
			</preview>
			<execute action="http://localhost/QRL/convert.aspx" method="POST">
				<parameter name="PageUrl"
									 value="{documentUrl}"/>
				<parameter name="PageTitle"
									 value="{documentTitle?}"/>
				<parameter name="Link"
									 value="{link?}"/>
				<parameter name="LinkText"
									 value="{linkText?}"/>
				<parameter name="Selection"
									 value="{selection?}"/>
			</execute>
		</activityAction>
		<activityAction context="selection" method="POST">
			<preview action="http://localhost/QRL/convert.aspx">
				<parameter name="PageUrl"
									 value="{documentUrl}"/>
				<parameter name="PageTitle"
									 value="{documentTitle?}"/>
				<parameter name="Selection"
									 value="{selection?}"/>
				<parameter name="Preview"
									 value="1"/>
			</preview>
			<execute action="http://localhost/QRL/convert.aspx" method="POST">
				<parameter name="PageUrl"
									 value="{documentUrl}"/>
				<parameter name="PageTitle"
									 value="{documentTitle?}"/>
				<parameter name="Selection"
									 value="{selection?}"/>
			</execute>
		</activityAction>
		<activityAction context="link" method="POST">
			<preview action="http://localhost/QRL/convert.aspx">
				<parameter name="PageUrl"
									 value="{documentUrl}"/>
				<parameter name="PageTitle"
									 value="{documentTitle?}"/>
				<parameter name="Link"
									 value="{link?}"/>
				<parameter name="LinkText"
									 value="{linkText?}"/>
				<parameter name="Preview"
									 value="1"/>
			</preview>
			<execute action="http://localhost/QRL/convert.aspx" method="POST">
				<parameter name="PageUrl"
									 value="{documentUrl}"/>
				<parameter name="PageTitle"
									 value="{documentTitle?}"/>
				<parameter name="Link"
									 value="{link?}"/>
				<parameter name="LinkText"
									 value="{linkText?}"/>
			</execute>
		</activityAction>
	</activity>
</openServiceDescription>
